package main

import "fmt"

func main() {
	fmt.Println(f3())
	fmt.Println(f4())
}

func f3() int {
	var i int
	i = 0
	defer func() { i++ }()
	return i
}

func f4() (i int) {
	i = 0
	defer func() { i++ }()
	return i
}
